package com.mrjy.common.entity;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * aiuil聊天记录信息表
 * @author csshui
 *
 */
public class AiuiRecordInfo implements Serializable{
	

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4266406415283727365L;
	/**
	 * id
	 */
	private Integer id ;
	
	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 聊天内容
	 */
	private String content ;
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	
	/**
	 * 消息类型 0:文字;1:语音;2:视频;3:明师主页;100:导语，系统推送 ; 200:用户提问
	 */
	private String smsType ;
	
	/**
	 * 自表外键（上一条的用户提问id）
	 */
	private Integer answerId ;
	/**
	 * 回复的内容里的关键词（以#为分割符）
	 */
	private String keywords ;
	/**
	 * 资源id（用于明师和视频id）
	 */
	private Integer rid ;
	/**
	 * 图片资源（视频封面或明师头像）
	 */
	private String picUrl ;
	/**
	 * 语音资源路径
	 */
	private String audioUrl ;
	/**
	 * 音频时长
	 */
	private String duration ;
	/**
	 * 会话id
	 */
	private String sessionId ;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public String getSmsType() {
		return smsType;
	}
	public void setSmsType(String smsType) {
		this.smsType = smsType;
	}
	public Integer getAnswerId() {
		return answerId;
	}
	public void setAnswerId(Integer answerId) {
		this.answerId = answerId;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public Integer getRid() {
		return rid;
	}
	public void setRid(Integer rid) {
		this.rid = rid;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public String getAudioUrl() {
		return audioUrl;
	}
	public void setAudioUrl(String audioUrl) {
		this.audioUrl = audioUrl;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	
	
	
	
}